ItemPocket

@Serializable
data class ItemPocket(val id: Int, val name: String, val categories: List<Handle.Named<ItemCategory>>, val names: List<Name>) : NamedModel(source)

Pockets within the players bag used for storing items by category. See: https://pokeapi.co/docs/v2#item-pockets

Parameters

id

The identifier for this resource.

name

The name for this resource.

categories

A list of item categories that are relevant to this item pocket.

names

The name of this resource listed in different languages.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, categories: List<Handle.Named<ItemCategory>>, names: List<Name>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String
Link copied to clipboard